﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace HengTong.DataAccess.Migrations
{
    /// <inheritdoc />
    public partial class 单据新增流程状态 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<int>(
                name: "WorkflowStatus",
                table: "SysVisitorRecordRequestBill",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "WorkflowStatus",
                table: "SysPerson",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "WorkflowStatus",
                table: "SysHrTransferRequestBill",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "WorkflowStatus",
                table: "SysHrStaffNeedRequestBill",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "WorkflowStatus",
                table: "SysHrRetireRequestBill",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "WorkflowStatus",
                table: "SysHrResignRequestBill",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "WorkflowStatus",
                table: "SysHrRenewRequestBill",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "WorkflowStatus",
                table: "SysHrRecruitRequestBill",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "WorkflowStatus",
                table: "SysHrDismissRequestBill",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "WorkflowStatus",
                table: "SysDailyOutFactoryRequestBill",
                type: "int",
                nullable: true);

            migrationBuilder.AddColumn<int>(
                name: "WorkflowStatus",
                table: "SysDailyLeaveRequestBill",
                type: "int",
                nullable: true);
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "WorkflowStatus",
                table: "SysVisitorRecordRequestBill");

            migrationBuilder.DropColumn(
                name: "WorkflowStatus",
                table: "SysPerson");

            migrationBuilder.DropColumn(
                name: "WorkflowStatus",
                table: "SysHrTransferRequestBill");

            migrationBuilder.DropColumn(
                name: "WorkflowStatus",
                table: "SysHrStaffNeedRequestBill");

            migrationBuilder.DropColumn(
                name: "WorkflowStatus",
                table: "SysHrRetireRequestBill");

            migrationBuilder.DropColumn(
                name: "WorkflowStatus",
                table: "SysHrResignRequestBill");

            migrationBuilder.DropColumn(
                name: "WorkflowStatus",
                table: "SysHrRenewRequestBill");

            migrationBuilder.DropColumn(
                name: "WorkflowStatus",
                table: "SysHrRecruitRequestBill");

            migrationBuilder.DropColumn(
                name: "WorkflowStatus",
                table: "SysHrDismissRequestBill");

            migrationBuilder.DropColumn(
                name: "WorkflowStatus",
                table: "SysDailyOutFactoryRequestBill");

            migrationBuilder.DropColumn(
                name: "WorkflowStatus",
                table: "SysDailyLeaveRequestBill");
        }
    }
}
